<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $sf_user->getCulture() ?>" lang="<?php echo $sf_user->getCulture() ?>">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <meta property="og:title" content="Opinics Title" />
    <meta property="og:type" content="website" />
    <meta property="og:description" content="Opinics Description" />
    <meta property="og:url" content="<?php include_slot('meta_url') ?>" />
    <meta property="og:image" content="https://fbcdn-photos-a.akamaihd.net/photos-ak-snc1/v27562/89/137726579622329/app_1_137726579622329_8447.gif" />
    <meta property="og:site_name" content="Opinics" />
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
    <?php $myLib = new myLib(); ?>
  <!--body class="body_opinics" onselectstart="return false"-->
  <body class="body_opinics">
      <?php include_component('includes','bar') ?>
      <div id="container">
      <br />
          <div id="header">
              <div id="logo">
                <a href="<?php echo url_for('@homepage') ?>">
                  <?php echo image_tag('implementacion/logo_opinics.png','size=200x80') ?></a>
              </div>
              <div id="header_right">
                  <div class="right" style="text-align: right;">
                    <?php echo $myLib->formattedDate2(date("Y-m-d")); ?>
                      <br /><br /><br />
                    <div class="left" style="padding: 5px;">
                      <?php include_component('includes','lang') ?>
                    </div>
                    <div class="left" style="padding: 5px;">
                      <?php include_component('includes','country') ?>
                    </div>
                  </div>
              </div>
          </div>
          <div id="header-sub">
              <div id="busqueda">
                <div class="left">
                  <?php if(!$sf_user->isAuthenticated()){ ?>
                    <a href="<?php echo url_for('@register_form') ?>">Regístrate</a>
                  <?php } ?>
                </div>
                <div id="contenedor" class="background_blue right" style="width: 420px;padding: 3px;">
                  <div class="left" style="padding-right: 2px;">
                    <form action="<?php echo url_for('@search') ?>" autocomplete="off">
                      <input type="text" name="title" placeholder="Buscar" />
                    </form>
                  </div>
                  <div class="left padding" style="background-color: black;">
                      <b>Buscar</b>
                  </div>
                  <div class="left padding">
                      <a href="<?php echo url_for('@search') ?>" style="color: white;">
                          B&uacute;squeda avanzada ></a>
                  </div>
                </div>
              </div>
          </div>
            <?php include_component('includes','dashboardInterests') ?>
          <div id="content">
              <?php echo $sf_content ?>
          </div>
      </div>
      <div id="footer">
        <div id="footer_in">
          <table cellpadding="5">
            <tr>
              <td><a href="<?php echo url_for('@info#top1') ?>">politicas de privacidad</a></td>
              <td><a href="<?php echo url_for('@info#top2') ?>">condiciones de uso</a></td>
              <td><a href="<?php echo url_for('@info#top3') ?>">formas de pago</a></td>
            </tr>
          </table>
              <?php if($sf_user->hasFlash('message')){ ?>
              <h1><?php echo $sf_user->getFlash('message') ?></h1>
              <?php } ?>
        </div>
      </div>
          <?php include_component('includes','fancyBoxes') ?>
          <?php include_component('includes','globalJs') ?>
  </body>
</html>
